package com.welsy.classroom.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import mx.collections.ArrayCollection;
	
	public class AddNewsEvent extends CairngormEvent
	{
				
		public static var EVENT_ADDNEWS : String = "addNews";
		
		public var newsId : String;
		public var title : String;
		public var descr : String;
		public var creationDate : String;
		public var authorId : String;
		public var classIds : ArrayCollection;
		
		public function AddNewsEvent(newsId : String, title : String, descr : String, creationdDate : String, authorId : String, classIds : ArrayCollection) : void {
			super(EVENT_ADDNEWS);
			this.newsId = newsId;
			this.title = title;
			this.descr = descr;
			this.creationDate = creationdDate;
			this.authorId = authorId;
			
			this.classIds = classIds;
		}
		
	}
}